<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>报表导入</title>
<jsp:include page="../../../common/head.jsp"></jsp:include>
<script language="javaScript">	
	function showReportDetail(reportId){
		window.parent.frame_right.location.href="listCommonDetailReportEngine.do?type=import&reportId="+reportId;;
	}
	// 导出报表
	function exportReport(reportId)
	{
		window.top.returnValue=reportId;
		window.top.close();
	}
</script>
	</head>
	<body>
	<form name="form1" action="listReportEngine.do" method="post">
	<input name="reportEngine.belongTable" type="hidden" value="${reportEngine.belongTable}"/>
	<div id="body_div">
	<w:ShowTitle name="导入报表模板选择">
	</w:ShowTitle>
	<div id="body_content">
				<table width="100%">
					<tr>
						<td class="td_title">
							模板名称
						</td>
						<td class="td_title" width="120">
							模板类型
						</td>
						<td class="td_title" width="60">
							操作
						</td>
					</tr>
					<c:forEach items="${datalist}" var="obj">
						<tr>
							<td>
								${obj.reportName}
							</td>
							<td>
								${obj.reportType}
							</td>
							<td>
								<a href="#" onclick="showReportDetail('${obj.reportId}')">详细</a>
							</td>
						</tr>
					</c:forEach>
				</table>
			</div>
	</div>
	</form>
	</body>
</html>




